package com.asohofrucol.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.asohofrucol.model.FormFieldInput;

public interface FormFieldInputDao extends JpaRepository<FormFieldInput, Long>{

	
	@Query("SELECT p FROM FormFieldInput p WHERE p.formField.id = :formFieldId")
	public List<FormFieldInput> listByFormField(
			@Param("formFieldId") Long formFieldId);
}
